package com.hoshiicloud.user.param.usercenter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户资金流水分页查询参数实体
 *
 * @author : yangcheng
 * @date : 2019/5/11 18:21
 * @mail : maiboyc@163.com
 **/
@ApiModel
@Data
public class MemberFundPageParam {

    /**
     *当前页，默认1
     */
    @ApiModelProperty(name = "pageIndex", value = "当前页码", required = true, dataType = "java.lang.Long", example = "1")
    private Long pageIndex = 1L;

    /**
     *每页数量，默认10
     */
    @ApiModelProperty(name = "pageSize", value = "每页大小", required = true, dataType = "java.lang.Long", example = "10")
    private Long pageSize = 10L;

    // 用户ID
    @ApiModelProperty(name = "userId", value = "用户主键ID", required = true, dataType = "java.lang.Long", example = "3171776001692664000")
    private Long userId;

    // 流水编号
    @ApiModelProperty(name = "flowno", value = "流水编号", required = true, dataType = "java.lang.String", example = "F0001")
    private String flowno;

    // 流水项目  充值
    @ApiModelProperty(name = "description", value = "流水项目", required = true, dataType = "java.lang.String", example = "充值")
    private String description;

    // 资金方向  d-入账  c-出账
    @ApiModelProperty(name = "dc", value = "资金方向", required = true, dataType = "java.lang.String", example = "d")
    private String dc;

    // 状态 0-作废 1-有限
    @ApiModelProperty(name = "status", value = "状态", required = true, dataType = "java.lang.Integer", example = "1")
    private Integer status;

    // 来源（1-充值 2-消费 3-分润 4-退款 5-转账 6-罚款 7-奖励 8-其他）
    @ApiModelProperty(name = "source", value = "来源", required = true, dataType = "java.lang.Integer", example = "1")
    private Integer source;

}